﻿using System;
using System.Drawing;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.IO;
using System.Web.Security;
using webapp4U;
using webapp4U.BOL;

namespace webapp4U.UI
{
    [ParseChildren(true)]
    public class PageSizeDDL : DropDownList
    {
        public PageSizeDDL()
        {
            //EnableViewState = false;
            this.Items.Insert(0, new ListItem("5", "5"));
            this.Items.Insert(1, new ListItem("10", "10"));
            this.Items.Insert(2, new ListItem("20", "20"));
            this.Items.Insert(3, new ListItem("50", "50"));
            this.Items.Insert(4, new ListItem("100", "100"));
            this.SelectedValue = "10";
            this.Attributes.Add("style", "font-size:10px;");
        }

    }
}
